* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 10:49:19 +0000 (03:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 10:49:19 +0000 (03:49 -0700)
as well as a constant, since it's used in non-static inline functions now.

src/ChangeLog
src/lisp.h

index 5eace10b0adf0e4c7bc2e49006f66f61f05fd442..be7f1c2a0c9040c81399fdc9fac32ca17af792d5 100644 (file)
@@ -30,6 +30,7 @@
        (INLINE_HEADER_END): New macros.
        * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
        since it's used in non-static inline functions now.
+       (VALMASK) [!USE_LSB_TAG]: Likewise.
 
 2012-08-02  Glenn Morris  <rgm@gnu.org>
 
index 1661ac1caa08e43f8310362566ff9a61c1a58bbd..4b54af9fe4300aecebefa5be9c215e892e311872 100644 (file)
@@ -423,7 +423,9 @@ enum lsb_bits
 
 #else  /* not USE_LSB_TAG */
 
-static EMACS_INT const VALMASK = VAL_MAX;
+static EMACS_INT const VALMASK
+#define VALMASK VAL_MAX
+      = VALMASK;
 
 #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS))